package com.songlanyun.modules.message.model;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.songlanyun.common.drive.ValueObject;
import lombok.Data;

@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class GoodsMessage implements ValueObject, IMessageBody {

    public GoodsMessage() {
    }

    public GoodsMessage(Long goodsId, String goodsName, String goodsImg, String goodsSpec) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsImg = goodsImg;
        this.goodsSpec = goodsSpec;

    }

    /**
     * 商品ID
     */
    private Long goodsId;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 商品图片
     */
    private String goodsImg;

    /**
     * 商品规格
     */
    private String goodsSpec;

    /**
     *
     */
    private Long teamMemberId;

}
